home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
02
/
5
/
DISK0254.ZIP
/
HELPPCJR
/
SECNDRY
/
CHKDSK.HLP
< prev
next >
Wrap
Text File
|
1984-09-05
|
3KB
|
47 lines
The CHKDSK command checks the File Allocation Table on the specified or
default disk drive and produces a disk and memory status report. The command
format is as follows:
CHKDSK [d:][filename[.ext]][/F][/V]
If you specify a filename, CHKDSK displays the number of non-contiguous
(fragmented) areas occupied by the file(s) in the current directory. The
global filename characters "*" and "?" may be used to check selected groups
of files (see the help file GLOBALS for details).
These options may follow the filename:
/F - This option tells CHKDSK that you want to correct errors found while
verifying the disk integrity. Regardless of whether or not this option
is specified you are asked to confirm corrections that are to be written
to the disk.
/V - This option causes each filename and directory processed to be displayed
on the screen, giving you some indication of the program's progress.
A complete listing of the disk could be redirected to the printer or a
file using this option and the techniques explained in the help file
REDIRECT, or using the Fn Echo keys as described in the help file KEYS.
After checking the disk and any error messages are displayed, a status report
for the disk checked and the memory available is output. All error messages
generated by CHKDSK are explained in detail in Appendix A of the DOS manual.
CHKDSK should be used occasionally for all fixed and floppy disks you are using
to verify the data and diskette integrity. If a diskette repeatedly loses
files, this should be a warning to you that the diskette is going bad and
should not be used any longer. If a group of diskettes start to go bad, you
should check to make sure you are storing them properly (see the help file
DISKS for suggestions), and that one of your disk drives is not acting up.
Finally, it is possible you received a box of defective diskettes, in which
case you can contact your supplier.
NOTES **
* Fragmentation can really slow down the speed of disk accesses on a file.
Dealing with fragmentation is discussed in the help file FRAGMENT.
* Restored file allocation units are written to files named FILEnnnn.CHK in the
root directory of the specified drive (nnnn starts at 0000). Check them for
any useful file information after running CHKDSK.
* If you redirect CHKDSK's output to a file or the printer, do not use the /F
option since the correction confirmation cannot be obtained.